package com.yugao.fintech.draper.admin.convert;

import com.yugao.fintech.draper.admin.entity.SysRouteConf;
import com.yugao.fintech.draper.auth.dto.RouteConfVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface RouteConfConvert {

	RouteConfConvert INSTANCE = Mappers.getMapper(RouteConfConvert.class);

	RouteConfVO convert(SysRouteConf sysRouteConf);

	SysRouteConf convert(RouteConfVO routeConfVo);

	List<RouteConfVO> convert(List<SysRouteConf> list);

}
